//
//  AY_ReadChapterView.h
//  AiYue
//
//  Created by mac on 2023/10/25.
//

#import <UIKit/UIKit.h>
@protocol SXReadChapterCellDelegate;

NS_ASSUME_NONNULL_BEGIN
@protocol SXReadCatalogViewDelegate <NSObject,SXReadChapterCellDelegate>

@end

@interface AY_ReadChapterView : UIView

@property (nonatomic,weak) id <SXReadCatalogViewDelegate>delegate;
@property (nonatomic,strong) NSArray <ReadChapterModel *>*charpters;
-(void)show;
-(void)dismiss;
@property (nonatomic,strong) BookModel *bookModel;
- (void)setColors;
@property (nonatomic,assign) NSInteger currentChapter;
@end

NS_ASSUME_NONNULL_END
